//
//  BBLoginRequest.h
//  BabyThermometer
//
//  Created by CaiLei on 10/21/14.
//  Copyright (c) 2014 baohu. All rights reserved.
//

#import "LeGetRequestBase.h"
@protocol BBLoginRequestItem_babyInfo
@end
@interface BBLoginRequestItem_babyInfo : JSONModel
@property (nonatomic, copy) NSString<Optional> *babyName;
@property (nonatomic, copy) NSString<Optional> *birthday;
@property (nonatomic, copy) NSString<Optional> *photo;
@property (nonatomic, copy) NSString<Optional> *sex;
@end

@interface BBLoginRequestItem : JSONModel
@property (nonatomic, strong) NSNumber<Optional> *code;
@property (nonatomic, copy) NSString<Optional> *msg;
@property (nonatomic, copy) NSString<Optional> *token;
@property (nonatomic, strong) NSArray<Optional, BBLoginRequestItem_babyInfo> *babyInfo;
@end


@interface BBLoginRequest : LeGetRequestBase
@property (nonatomic, copy) NSString *username;
@property (nonatomic, copy) NSString *password;

- (void)startRequestWithBlock:(void(^)(BBLoginRequestItem *retItem, NSError *error))aBlock;
@end
